package com.cm.sys.system.entity;

import java.io.Serializable;

/**
 * Creator:郭兆鹏
 * Date:2020/1/10
 * 作用:
 */
public class MenuRelation implements Serializable {

    private static final long serialVersionUID = 3472943244093811540L;
    private Integer id;
    private Integer menuId;
    private String menuName;
    private String function;

    public MenuRelation() {
    }

    @Override
    public String toString() {
        return "MenuRelation{" +
                "id=" + id +
                ", menuId=" + menuId +
                ", menuName='" + menuName + '\'' +
                ", function='" + function + '\'' +
                '}';
    }

    public MenuRelation(Integer menuId, String menuName, String function) {
        this.menuId = menuId;
        this.menuName = menuName;
        this.function = function;
    }

    public MenuRelation(Integer id, Integer menuId, String menuName, String function) {
        this.id = id;
        this.menuId = menuId;
        this.menuName = menuName;
        this.function = function;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getMenuId() {
        return menuId;
    }

    public void setMenuId(Integer menuId) {
        this.menuId = menuId;
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    public String getFunction() {
        return function;
    }

    public void setFunction(String function) {
        this.function = function;
    }
}
